package project.dzz.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;

@Controller
public class HtmlController {

    //请求地址
    @GetMapping("/index")
    public String indexHtml() {
        //返回的资源文件
        return "/static/index.html";
    }
}
